<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台登录</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	font-size:12px;
	align:center;
}

.middle{
	width:100%;
	margin:0 auto;
	border:#B8D8FD thin solid;
	height:604px;
	background-image:url(images/admin-login2.png);
	background-repeat:repeat-x;
}
.table-down{
margin-top:130px;
}
.foot-admin{
	width:1025px;
	height:91px;
	margin:0 auto;
}
.big{
	font-size:16px;
	font-weight:bold;
}
-->
</style>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.9.1.js" type="text/javascript"></script>
<script type="text/javascript">
	function changeValidateCode(obj) {
		var timeNow = new Date().getTime();
		obj.src = "util/randomNum?time=" + timeNow;
	}
</script>
 
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/jquery.validate.min.js"> </script> 
<script type="text/javascript" src="js/message_cn.js"> </script>
	
<script type="text/javascript">   
var flag= true;
function submit() {
	
 	alert("1");
 }
</script>
 
<!--验证  -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.poshytip.js"></script>
<script type='text/javascript' src='js/jq.validate.js'></script>
<link rel="stylesheet" href="css/tip-yellowsimple.css" type="text/css" />
<!--  -->
	 
</head>

<body>
<form action="admin/adminLogin" method="post" id="signupForm" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="105px" align="left" style="background-image:url(images/admin-login8.png);background-repeat:repeat-x;" ><img src="images/admin-login1.png" width="1025px" border="0" /></td>
  </tr>
</table>

<div class="middle">

	<div class="table-down">
		
			<table width="610" border="0" align="center" cellpadding="0" cellspacing="0" class="right-table03">
			  <tr>
			    <td width="221"><table width="95%" border="0" cellpadding="0" cellspacing="0" class="login-text01">
			      
			      <tr>
			        <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="login-text01">
			          <tr>
			            <td align="center"><img src="images/admin-login3.png" /></td>
			          </tr>
			          <tr>
			            <td height="40" align="center">&nbsp;</td>
			          </tr>
			          
			        </table></td>
			        <td><img src="images/line01.gif" width="5" height="292" /></td>
			      </tr>
			    </table></td>
			    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
			    
			      <tr >
			        <td width="31%" height="35" colspan="2">  <p class="big">&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/admin-login6.png" align="middle" border="0"/>&nbsp;&nbsp;&nbsp;&nbsp;管理员登录</p></td>
			       <td></td>
			      </tr>
			      <tr>
			      <td colspan="2" style="text-align:center; color:red; font-size:12px;">
						<c:if test="${! empty requestScope.alert}">
							用户名或密码或验证码有错误
						</c:if>
				 </td>
				 </tr>
			      <tr >
			        <td width="31%" height="35" class="login-text02">&nbsp;&nbsp;用户名：</td>
			        <td><input name="admin.account" type="text" id="userName" valType="required" msg="<font color=red>*</font>用户名称不能为空" /></td><td ></td>
			      </tr>
			      <tr>
			        <td height="35" class="login-text02">&nbsp;&nbsp;密码：</td>
			        <td><input name="admin.password" type="password"  id="password" valType="required" msg="<font color=red>*</font>密码不能为空" /></td><td></td>
			      </tr>
			    
			      <tr>
			        <td height="35" class="login-text02">&nbsp;&nbsp;验证码：</td>
			        <td valign="middle">
			        	<img src="util/randomNum" onclick="changeValidateCode(this)" title="刷新验证码" align="middle"; style="cursor: hand; "  />
			        	<input type="text" name="random" id="textfield3" style="width:50px; height:20px;"  valType="required" msg="<font color=red>*</font>验证码不能为空" />
			        </td><td ></td>
			      </tr>
			      <tr>
			        <td height="35">&nbsp;</td>
			        <td>
			        	<input name="Submit2" type="submit" class="right-button01" id="login" value="登录"/>
			        	&nbsp;&nbsp;
			         	<input name="Submit232" type="submit" class="right-button01" value="重置" /></td><td></td>
			      </tr>
			   
			    </table></td>
			  </tr>
			</table>
		</div>

</div>
</form>
<%--<div class="foot-admin">
	<img src="images/admin-login5.png" border="0"/>
</div>--%>
</body>
</html>